package com.duk.main;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;

public class DukNews extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.welcome);
        Handler handler = new Handler();
        handler.postDelayed(new splashhandler(), 2000);
     }
    
    class splashhandler implements Runnable {
    	public void run() {    		
    		startActivity(new Intent(getApplication(),MainActivity.class));
    		DukNews.this.finish();
    	}
    }
    
   
}